package com.dz51.base;

import org.hibernate.SessionFactory;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "classpath:applicationConfigurationTest.xml" })
public abstract class AbstractSpringJUnit4Support extends AbstractJUnit4SpringContextTests {

	@Autowired
	protected SessionFactory sessionFactory;

	public AbstractSpringJUnit4Support() {

	}

	@Test
	public abstract void doJob();

}
